/**
 * Project oo_thread
 */


#ifndef _MYTHREAD_H
#define _MYTHREAD_H

#include "Thread.h"
#include "Threadpool.h"

class MyThread: public Thread {
public: 
    MyThread(Threadpool & thread);
    ~MyThread();
    void run()override;

private:
    Threadpool & _threadpool;
};

#endif //_MYTHREAD_H
